SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
CREATE VIEW dbo.vweRelRolUsuarios
AS
SELECT idUsuario AS id, idRol
FROM  dbo.tb_relUsuarioRol
GO
GRANT SELECT ON  [dbo].[vweRelRolUsuarios] TO [AdministracionSagenet]
GRANT INSERT ON  [dbo].[vweRelRolUsuarios] TO [AdministracionSagenet]
GRANT DELETE ON  [dbo].[vweRelRolUsuarios] TO [AdministracionSagenet]
GRANT UPDATE ON  [dbo].[vweRelRolUsuarios] TO [AdministracionSagenet]
GRANT SELECT ON  [dbo].[vweRelRolUsuarios] TO [SoloVer]
GO
